package common;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SpringFactory {
	private static final ApplicationContext _context;
	static{
		_context = new ClassPathXmlApplicationContext("fitso-model-context.xml");
	}
	
	public static Object getBean(String name){
		return _context.getBean(name);
	}
}
